<?php
class newsrelationModel extends relationModel{
	public $table="news";
	public $join=array(
	     'news_data'=>array(
	        "type"=>'has_one',
	         'foreign_key'=>'nid',
	   ),
	     
	 );
}


?>